package com.example.springbootrabbitmq.utils;

import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.time.ZoneOffset;

public class DateUtil {

    public static Timestamp addMinutes(Long time, Integer minutes){
        try {
            time += 60* minutes;
        }catch (Exception e){
            e.printStackTrace();
        }
        return new Timestamp(time);
    }
}
